package com.cap.dreamcircle.Api;

import com.cap.dreamcircle.Model.Bean.NotifyBean;
import com.cap.dreamcircle.Model.Bean.SystemMessageBean;
import com.cap.dreamcircle.Model.Bean.UnReadMsgBean;

import java.util.HashMap;

import retrofit2.http.FieldMap;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.POST;
import rx.Observable;

/**
 * Created by liucxu on 2017/7/11.
 */

public interface Message {
    @FormUrlEncoded
    @POST("msg.do")
    Observable<NotifyBean> RequestNotifyMessage(@FieldMap HashMap<String, String> params);

    @FormUrlEncoded
    @POST("msg.do")
    Observable<SystemMessageBean> RequestSystemMessage(@FieldMap HashMap<String, String> params);

    @FormUrlEncoded
    @POST("msg.do")
    Observable<UnReadMsgBean> RequestMessageCount(@FieldMap HashMap<String, String> params);
}
